package com.be.beadmin.generator.repository;

import com.be.beadmin.generator.entity.ColumnInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ColumnInfoRepository extends JpaRepository<ColumnInfo,String>, JpaSpecificationExecutor<ColumnInfo> {

    List<ColumnInfo> findByTableNameOrderByIdAsc(String tableName);
}
